package ooday01;

public class CansDemo {
    public static void main(String[] args) {
        Student zs=new Student();//调用一个无参构造方法
        Student ls=new Student("李四",25);//调用有两个参的构造方法
        Student ww=new Student("王五",25,"jsd2302","001");//调用有四个参的构造方法

        //调用方法
        zs.sayHi();
        ls.sayHi();
        ww.sayHi();
    }
}

